#define _CRT_SECURE_NO_WARNINGS
#include "1.8_hs.h"
void csh_struct_emp_s2(struct emp** p,char(*pc)[9],int sz)
{
	for (int i = 0; i < sz; i++)
		strcpy(p[i]->name, pc[i]);
}

void Print_struct_emp_s3(struct emp(*p)[3],struct emp**ps)
{
	for (int i = 0; i < 3; i++)
		printf("%s like %s\n", p[0][i].name, ps[i]->name);
}

void Print_ppc(char** ppc)
{
	for (int i = 0; i < 3; i++)
	{
		printf("%s like %s\n", ppc[i], ppc[i + 3]);
	}
}

int(*signal(int a, int(*p)(int, int)))(int, int)
{
	return p;
}

int add(int x, int y)
{
	return x + y;
}

int sub(int x, int y)
{
	return x - y;
}

int div(int x, int y)
{
	return x / y;
}

int mul(int x, int y)
{
	return x * y;
}
